package refactorplugin.views;

import org.eclipse.jface.viewers.DecoratingLabelProvider;
import org.eclipse.jface.viewers.ILabelDecorator;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.ISharedImages;
import org.eclipse.ui.PlatformUI;

public class Decore extends DecoratingLabelProvider {

	private TreeViewLabelProvider _treeViewProvider;
	
	private ILabelDecorator _decorator;
	
	public Decore(ILabelProvider provider, ILabelDecorator decorator) {
		super(provider, decorator);
		_treeViewProvider = new TreeViewLabelProvider();
		_decorator = decorator;
	}
	
	public String getText(Object obj) {
		return _treeViewProvider.getText(obj);
	}
	public Image getImage(Object obj) {
		return _treeViewProvider.getImage(obj);
	}	

}
